package order.model;

import java.io.Serializable;

/**
 * 订单项
 * @author 肖波
 *
 */
public class OrderItem implements Serializable
{
	private static final long serialVersionUID = 5971692446323086495L;
	private int orderId;
	private int menuId;
	private float originalPrice;//原价
	private float realPrice;//实际价格
	private float quantity;//数量
	private float realAmount;//总金额
	private int orderStauts;
	private String customComments;//评论
	
	public OrderItem(){}
	public OrderItem(int orderId, int menuId, float originalPrice,
			float realPrice, float quantity, float realAmount, int orderStauts,
			String customComments)
	{
		super();
		this.orderId = orderId;
		this.menuId = menuId;
		this.originalPrice = originalPrice;
		this.realPrice = realPrice;
		this.quantity = quantity;
		this.realAmount = realAmount;
		this.orderStauts = orderStauts;
		this.customComments = customComments;
	}
	public int getOrderId()
	{
		return orderId;
	}
	public void setOrderId(int orderId)
	{
		this.orderId = orderId;
	}
	public int getMenuId()
	{
		return menuId;
	}
	public void setMenuId(int menuId)
	{
		this.menuId = menuId;
	}
	public float getOriginalPrice()
	{
		return originalPrice;
	}
	public void setOriginalPrice(float originalPrice)
	{
		this.originalPrice = originalPrice;
	}
	public float getRealPrice()
	{
		return realPrice;
	}
	public void setRealPrice(float realPrice)
	{
		this.realPrice = realPrice;
	}
	public float getQuantity()
	{
		return quantity;
	}
	public void setQuantity(float quantity)
	{
		this.quantity = quantity;
	}
	public float getRealAmount()
	{
		return realAmount;
	}
	public void setRealAmount(float realAmount)
	{
		this.realAmount = realAmount;
	}
	public int getOrderStauts()
	{
		return orderStauts;
	}
	public void setOrderStauts(int orderStauts)
	{
		this.orderStauts = orderStauts;
	}
	public String getCustomComments()
	{
		return customComments;
	}
	public void setCustomComments(String customComments)
	{
		this.customComments = customComments;
	}
	
}
